package com.wanger.model.connect;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: wanger
 * @Date: 2023/8/17 22:03
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_authority_resource")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("系统权限、资源关联表")
public class SysAuthorityResource {

    @TableField("authority_id")
    @ApiModelProperty("权限id")
    private String authorityId;

    @TableField("resource_id")
    @ApiModelProperty("资源id")
    private String resourceId;

}
